﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;

namespace chatGUI.Model
{
    //public enum sex
    //{
    //    male,
    //    female
    //}
    //public enum constellation
    //{
    //    Aries, Taurus, Gemini, Cancer, Leo, Virgo, Libra, Scorpio, Sagittarius, Capricorn, Aquarius, Pisces
    //}
    //public enum bloodType
    //{
    //    A, B, O, AB
    //}
    public class userDataModel : ObservableObject
    {
        private string uid;
        public string Uid
        {
            get => uid;
            set => Set(ref uid, value);
        }
        private string avatarUrl;
        public string AvatarUrl
        {
            get => avatarUrl;
            set => Set(ref avatarUrl, value);
        }
        private string nickName;
        public string NickName
        {
            get => nickName;
            set => Set(ref nickName, value);
        }
        private string remarkName;
        public string RemarkName
        {
            get => remarkName;
            set => Set(ref remarkName, value);
        }
        //private string status;
        //public string Status
        //{
        //    get => status;
        //    set => Set(ref status, value);
        //}
        //private int age;
        //public int Age
        //{
        //    get => age;
        //    set => Set(ref age, value);
        //}
        //private sex sex;
        //public sex Sex
        //{
        //    get => sex;
        //    set => Set(ref sex, value);
        //}
        //public string SexStr
        //{
        //    get => sex == sex.male ? "male" : "female";
        //}
        //private DateTime birthday;
        //public DateTime Birthday
        //{
        //    get => birthday;
        //    set => Set(ref birthday, value);
        //}
        //public string BirthdayStr
        //{
        //    get => birthday.ToString("yy/MM/dd");
        //}
        //private constellation constellations;
        //public constellation Constellations
        //{
        //    get => constellations;
        //    set => Set(ref constellations, value);
        //}
        //public string ConstellationStr
        //{
        //    get => constellations == constellation.Aquarius ? "aquarius" :
        //        constellations == constellation.Aries ? "aries" :
        //        constellations == constellation.Cancer ? "cancer" :
        //        constellations == constellation.Capricorn ? "capricorn" :
        //        constellations == constellation.Gemini ? "gemini" :
        //        constellations == constellation.Leo ? "Leo" :
        //        constellations == constellation.Libra ? "Libra" :
        //        constellations == constellation.Pisces ? "pisces" :
        //        constellations == constellation.Sagittarius ? "sagittarius" :
        //        constellations == constellation.Scorpio ? "scorpio" :
        //        constellations == constellation.Taurus ? "taurus" :
        //        constellations == constellation.Virgo ? "virgo";
        //}
        //private bloodType bloodType;
        //public bloodType BloodType
        //{

        //}
        //public string email { get; set; }
        //public string address { get; set; }

    }
}
